package com.lin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
/*产品生产工序*/
public class MDesignProcedure {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String designId;

    private String firstKindId;

    private String firstKindName;

    private String secondKindId;

    private String secondKindName;

    private String thirdKindId;

    private String thirdKindName;

    private String productId;

    private String productName;

    private String procedureDescribe;

    private Double costPriceSum;

    private Double moduleCostPriceSum;

    private String designer;

    private String register;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registerTime;

    private String checker;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTime;

    private String checkSuggestion;

    private String checkTag;

    private String changer;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date changeTime;

    private String changeTag;

    private String designModuleTag;

    private String designModuleChangeTag;

    @TableField(exist = false)
    private List<MDesignProcedureDetails> details;
}